<?php defined('SYSPATH') or die('No direct script access.') ?>

<ul class="nav nav-tabs">
  <li><a href="#new" data-toggle="tab">Необработанные</a></li>
  <li><a href="#my" data-toggle="tab">Мои</a></li>
  <li><a href="#comein" data-toggle="tab">Запись</a></li>
  <li><a href="#recall" data-toggle="tab">Перезвон</a></li>
</ul>
<div class="tab-content">

	<div class="tab-pane" id="new">
<?php echo $table_new ?>
	</div>
	<div class="tab-pane active" id="my">
<?php echo $table_my ?>
	</div>
  <div class="tab-pane" id="comein">...</div>
  <div class="tab-pane" id="recall">...</div>
</div>

<div id="ajaxmodal" class="modal container fade" tabindex="-1" style="display: none;">
  <div class="modal-header">
    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    <h4 class="modal-title">Заголовок</h4>
  </div>
  <div class="modal-body"></div>
  <div class="modal-footer">
    <button type="button" data-dismiss="modal" class="btn btn-default">Закрыть</button>
    <button type="button" class="btn btn-primary" id="card_submit">Сохранить изменения</button>
  </div>
</div>
